package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Employee;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;

import java.util.List;

public interface IEmployeeService {
    void delete(long id);

    Employee get(Long id);

    List<Employee> listAll();

    void saveOrUpdate(Employee employee,Long[] roleIds);

    PageResult query(QueryObject qo);

    void login(String username, String password);
}
